package com.ggb.reactive.domain.entity

import io.swagger.v3.oas.annotations.media.Schema
import lombok.AllArgsConstructor
import lombok.Data
import lombok.NoArgsConstructor
import org.springframework.data.annotation.Id
import org.springframework.data.relational.core.mapping.Table

@Table("dish_flavor")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(title="口味实体 DishFlavor")

data class DishFlavor(
    @Id
    var id:Long,
    //菜品id
    @Schema(description = "菜品id")
    var dishId:Long,
    @Schema(description = "口味名称")
    //口味名称
    var name:String,
    @Schema(description = "口味数据list")
    //口味数据list
    var value:String
)
